package com.bpmn.flow.dto;

import jakarta.validation.constraints.NotBlank;
import lombok.Data;

import java.util.Map;

/**
 * @author rain
 */
@Data
public class ProcessStartDTO {

    @NotBlank(message = "当前处理人id")
    private String userId;

    @NotBlank(message = "流程定义KEY不能为空")
    private String processKey;

    @NotBlank(message = "业务ID不能为空")
    private String businessKey;

    // 自定义参数
    private Map<String, Object> variables;

} 